import * as React from 'react';

class Home extends React.Component {

  public toSubTool = () => {
    // const name = 'history';
    // this.props[name].push('/subTool')
    window.open('http://localhost:3000/kk')
  }

  public render() {
    return (
      <div>
        home
        <button onClick={this.toSubTool}>to subTool</button>
      </div>
    );
  }
}

export default Home;
